<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="isperp" uri="/WEB-INF/tlds/isperp.tld"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>

<div class="header">
	<h2>&nbsp;&nbsp;计划任务信息</h2>
</div>
<table class=" form-table">
	<tbody>
		<tr>
			<td class="td1">编号：</td>
			<td class="td2">${model.taskCode}</td>
		</tr>
		<tr>
			<td class="td1">名称：</td>
			<td class="td2">${model.taskName }</td>
		</tr>
		<tr>
			<td class="td1">所属项目：</td>
			<td class="td2"><isperp:relationLabel
					moduleUrl="project/project" idValue="${model.projectId }"
					displayColumn="name" id="projectName"></isperp:relationLabel></td>
		</tr>
		<tr>
			<td class="td1">所属项目阶段：</td>
			<td class="td2">${model.projectStage }</td>
		</tr>
		<tr>
			<td class="td1">优先级：</td>
			<td class="td2">${model.taskPriority }</td>
		</tr>
		<tr>
			<td class="td1">负责人：</td>
			<td class="td2">${model.taskPrincipalName }</td>
		</tr>
		<tr>
			<td class="td1">内容：</td>
			<td class="td2">${model.taskContent }</td>
		</tr>
		<tr>
			<td class="td1">目标：</td>
			<td class="td2">${model.taskTarget }</td>
		</tr>
		<tr>
			<td class="td1">交付标准：</td>
			<td class="td2">${model.taskDeliverables }</td>
		</tr>
		<tr>
			<td class="td1">计划工时(h)：</td>
			<td class="td2">${model.planTimes}</td>
		</tr>
	</tbody>
</table>
<div class="header">
	<h2>&nbsp;&nbsp;任务执行设置</h2>
</div>
<table class=" form-table">
	<tbody>
		<tr>
			<td class="td1">执行类型：</td>
			<td class="td2">
			</td>
		</tr>
		<tr id="trMul_2">
			<td class="td1">执行时间：</td>
			<td class="td2"><fmt:formatDate
					value="${model.excuteOnePlanStartTime}" pattern="yyyy-MM-dd HH:mm" />~<fmt:formatDate
					value="${model.excuteOnePlanEndTime}" pattern="yyyy-MM-dd HH:mm" />
			</td>
		</tr>
	</tbody>
</table>
<div class="header">
	<h2>&nbsp;&nbsp;任务发布设置</h2>
</div>
<table class=" form-table">
	<tbody>
		<tr>
			<td class="td1">提前发布天数：</td>
			<td class="td2">${model.releaseBeforeDays}&nbsp;&nbsp;(任务负责人可以提前收到该任务的通知)</td>
		</tr>
		<tr id="trOneTimePlanTime">
			<td class="td1">非工作日发布：</td>
			<td class="td2">${model.releaseIfNotWorkday}&nbsp;&nbsp;(非工作日是否执行该任务)</td>
		</tr>
		<tr>
			<td class="td1">是否顺延：</td>
			<td class="td2">${model.releaseIfDelay}&nbsp;&nbsp;(如果非工作日不执行该任务，是否顺延迟到接下来第一个工作日执行)</td>
		</tr>
	</tbody>
</table>
<isperp:buttonList showCloseBtn="true">
</isperp:buttonList>
